Spread Windows Forms 15.0
GrapeCity.Spreadsheet Assembly / GrapeCity.CalcEngine Namespace / RichValue<T> Class / TryGetFieldValue Method / TryGetFieldValue(Int32,CellValue) Method
An integer value indicates the field index.
An CellValue object indicates the result.


In This Topic
    TryGetFieldValue(Int32,CellValue) Method
    In This Topic
    Gets the specified field value from this IRichValue object.
    Syntax
    'Declaration
     
    
    Public Overloads Function TryGetFieldValue( _
       ByVal index As Integer, _
       ByRef result As CellValue _
    ) As Boolean
    'Usage
     
    
    Dim instance As RichValue(Of T)
    Dim index As Integer
    Dim result As CellValue
    Dim value As Boolean
     
    value = instance.TryGetFieldValue(index, result)
    public bool TryGetFieldValue( 
       int index,
       ref CellValue result
    )

    Parameters

    index
    An integer value indicates the field index.
    result
    An CellValue object indicates the result.

    Return Value

    A boolean value indicates whether the field value is returned successful.
    See Also